package cn.wk;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.cloud.netflix.hystrix.EnableHystrix;

@SpringBootApplication
@EnableEurekaClient //表示是客户端
@EnableHystrix      //允许熔断
public class App_hystrix_1 {
    public static void main(String[] args) {
        SpringApplication.run(App_hystrix_1.class);
    }
}
